// src/main.js
import { createApp } from 'vue';
import App from './App.vue';
import Vant from 'vant';
import { Toast } from 'vant';
import  Axios  from "axios";
import 'vant/lib/index.css';
import router from './router' // 导入路由器实例
Axios.defaults.baseURL = "http://localhost:8000"
const app = createApp(App);
app.use(Vant);
app.use(Toast);
app.use(router) // 使用路由器  
app.config.globalProperties.axios = Axios
app.mount('#app')